home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / Devpac 2.12 disk 2.adf / include.cbm / workbench / startup.i < prev    next >
Text File  |  1987-03-31  |  1KB  |  42 lines

  1.  
  2.  
  3.  
  4. *** startup.i ************************************************************
  5. *
  6. *  Workbench startup definitions
  7. *
  8. * Copyright (C) 1985,  Commodore-Amiga, Inc., All rights reserved.
  9. *
  10. * $Header: startup.i,v 29.1 85/08/15 06:58:52 neil Exp $
  11. *
  12. * $Locker:  $
  13. *
  14. ****************************************************************************
  15.  
  16.         IFND    EXEC_TYPES_I
  17.         INCLUDE "exec/types.i"
  18.         ENDC    !EXEC_TYPES_I
  19.  
  20.         IFND    EXEC_PORTS_I
  21.         INCLUDE "exec/ports.i"
  22.         ENDC    !EXEC_PORTS_I
  23.  
  24.         IFND    LIBRARIES_DOS_I
  25.         INCLUDE "libraries/dos.i"
  26.         ENDC    !LIBRARIES_DOS_I
  27.  
  28.  STRUCTURE WBStartup,0
  29.     STRUCT      sm_Message,MN_SIZE      ; a standard message structure
  30.     APTR        sm_Process              ; the process descriptor for you
  31.     BPTR        sm_Segment              ; a descriptor for your code
  32.     LONG        sm_NumArgs              ; the number of elements in ArgList
  33.     APTR        sm_ToolWindow           ; description of window
  34.     APTR        sm_ArgList              ; the arguments themselves
  35.     LABEL       sm_SIZEOF
  36.  
  37.  STRUCTURE WBArg,0
  38.     BPTR        wa_Lock                 ; a lock descriptor
  39.     APTR        wa_Name                 ; a string relative to that lock
  40.     LABEL       wa_SIZEOF
  41.  
  42.